@layout("/backend/common/_container.html"){
<link href="${ctxPath}/static/libs/hisui/css/hisui.lite.css" rel="stylesheet">
<style>
	.dhcc-con .form-group{
		margin-bottom: 5px;
	}
</style>
<#Layout >
	<#Layout_Left title='查询条件' width='260px' iconCls=' '>
		<div class="row row-lg">
			<div class="col-sm-12">
				<div class="dhcc-con dhcc-con-left dhcc-con-boder" >
					@var dateMap={'dish':'出院时间','adm':'入院时间'};
					<#SelectCon id="searchType2" name="日期类型" map="${dateMap}" hasEmpty='false'/>
					<#DateHisui id="startDate2" name="开始日期" value="${startDate}" />
					<#DateHisui id="endDate2" name="结束日期" value="${endDate}" />
					@var statusMap = {'':'全部', 'notReported':'待填写', 'notChecked':'已提交', 'checked':'已审核', 'reported':'已上报', 'uploadSuccess':'上报成功', 'uploadFailure':'上报失败' };
					<#SelectCon id="status" name="填报状态" map="${statusMap}" />
					<#InputCon id="recordNumber" name="病案号" />
					<#InputCon id="name" name="患者姓名" />
					<#InputCon id="dept" name="科室" />
					<#InputCon id="doctor" name="主管医生" />
					<#Hidden id="abbrev"/>
				</div>
				<div class="hidden-xs" id="EpisodeIDTableToolbar" role="group" style="padding-left: 110px;padding-top: 10px;">
					<!--<#Button name="查询" icon="icon-search" plain="true" clickFun="SdsQcincase2.search2()" />-->
					<!--<#Button name="清空" icon="icon-reload" plain="true" clickFun="SdsQcincase2.clear2()" />-->
					<a href="#" id="search" class="hisui-linkbutton" onclick = "SdsQcincase2.search2()" >查询</a>
					<a href="#" id="clear" class="hisui-linkbutton" onclick = "SdsQcincase2.clear2()" >清空</a>
				</div>
			</div>
		</div>
	</#Layout_Left>
	<#Layout_Center id='entityName' title=' ' iconCls=' '>
		<div style="position:fixed;right:12px;top:9px;z-index:99;">
			<a id="btnBatchUp" class="hisui-linkbutton yellow" style="float:left;margin-right: 10px;">批量上报</a>
			<a id="btnShowEntiy" class="hisui-linkbutton green" style="float:right">返回病种列表</a>
		</div>
		<#Table id="SdsQcincaseTable"/>
	</#Layout_Center>
	<div id="winQCEntity" class="hisui-dialog" style="width:1200px;height:600px">
	<div class="dhcc-con dhcc-con-boder">
		<div class="dhcc-con-left">
			@var dateMap={'dish':'出院时间','adm':'入院时间'};
			<#SelectCon id="searchType1" map="${dateMap}" hasEmpty='false'/>
			<#DateHisui id="startDate1" name="开始日期" value="${startDate}" />
			<#DateHisui id="endDate1" name="结束日期" value="${endDate}" />
			<#Button name="查询" icon="icon-w-find" clickFun="SdsQcincase2.search1()"/>
		</div>
		<div class="dhcc-con-right" style="width: auto;">
			<p>检索出<span id="entityNum"></span>份</p>
		</div>
	</div>
	<div id="QCEntityList" style="height:510px; overflow-y: auto;">
		@var formCheck = "0";
		@if(shiro.hasPermission("form:check")){
			@formCheck = "1";
		@}
		<#Hidden id="formCheck" value="${formCheck}"/>
		@var formSubmit = "0";
		@if(shiro.hasPermission("form:submit")){
			@formSubmit = "1";
		@}
		<#Hidden id="formSubmit" value="${formSubmit}"/>
		<#Hidden id="formCheckType" value="${formCheckType}"/>
	</div>
</#Layout>
<script src="${ctxPath}/static/backend/sds/sdsqcincase2/sdsqcincase2.js"></script>
@}
